/*
 * myvideo.h
 *
 *  Created on: May 9, 2012
 *      Author: root
 */
#ifndef MYVIDEO_H_
#define MYVIDEO_H_

typedef struct st_video {

  char *filename;             	/* Name of column */
  char *path;               	/* file path */
  char *md5;                	/*file md5 code*/
  int  width;         			/* video width */
  int  height;         			/* video height */
  char *format;	            	/* video format */
  char *title;              	/* video title */
  char *vcode;	            	/* video code */
  char *acode;              	/* audio code */
  long long vsize;       	/* video length Byte*/
  long long vtime;   		/* video play time second */
  unsigned int bitrate;			/* video stream speed  by time second KB*/
  int fps;		    /* frame per second*/
  int streamnum;		/*stream[] number*/
  char *stream[6];

} MYVIDEOINFO;

extern MYVIDEOINFO *myvideoinfo;

#endif /* MYVIDEO_H_ */
